/********************************************************************************
** Form generated from reading UI file 'QNotesView.ui'
**
** Created: Fri Sep 3 09:08:29 2010
**      by: Qt User Interface Compiler version 4.7.0
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/

#ifndef UI_QNOTESVIEW_H
#define UI_QNOTESVIEW_H

#include <QtCore/QVariant>
#include <MAction>
#include <MApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QGraphicsGridLayout>
#include <QtGui/QHeaderView>
#include <MApplicationPage>
#include <QtGui/QMenu>
#include <QtGui/QMenuBar>
#include <MButton>
#include <MPannableViewport>
#include <MWidget>
#include <MToolBar>
#include <MWidgetAction>

QT_BEGIN_NAMESPACE

class Ui_QNotesViewClass
{
public:
    MAction *actionDelete_notes;
    MAction *actionReload;
    MWidget *centralwidget;
    QGraphicsGridLayout *gridLayout;
    MButton *pbNewNote;
    QActionGroup* noteSortGroup;
    MAction* actAscending;
    MAction* actDescending;

    void setupUi(MApplicationPage *QNotesViewClass)
    {
        if (QNotesViewClass->objectName().isEmpty())
            QNotesViewClass->setObjectName(QString::fromUtf8("QNotesViewClass"));

        actionDelete_notes = new MAction(QNotesViewClass);
        actionDelete_notes->setObjectName(QString::fromUtf8("actionDelete_notes"));
        actionReload = new MAction(QNotesViewClass);
        actionReload->setObjectName(QString::fromUtf8("actionReload"));
        centralwidget = new MWidget(QNotesViewClass);
        centralwidget->setObjectName(QString::fromUtf8("centralwidget"));
        gridLayout = new QGraphicsGridLayout(centralwidget);
        //gridLayout->setSpacing(6);
        //gridLayout->setContentsMargins(8, 4, 8, 8);

        MToolBar* tb = new MToolBar(QNotesViewClass, MToolBar::tabType);
        MWidgetAction* newNoteAction = new MWidgetAction(tb);

        pbNewNote = new MButton(centralwidget);
        pbNewNote->setObjectName(QString::fromUtf8("pbNewNote"));
        pbNewNote->setViewType("toolbar");
        QIcon icon;
        icon.addFile(QString::fromUtf8(":/IconAdd/general_add.png"), QSize(), QIcon::Normal, QIcon::Off);
        pbNewNote->setIcon(icon);

        newNoteAction->setWidget(pbNewNote);
        newNoteAction->setLocation(MAction::ToolBarLocation);
        QNotesViewClass->addAction(newNoteAction);
        //QNotesViewClass->addAction(newNoteAction);
        //gridLayout->addItem(pbNewNote, 0, 0, 1, 1);
        //gridLayout->setAlignment(pbNewNote, Qt::AlignCenter);

        QNotesViewClass->setCentralWidget(centralwidget);
        actionDelete_notes->setLocation(MAction::ApplicationMenuLocation);
        actionReload->setLocation(MAction::ApplicationMenuLocation);

        noteSortGroup = new QActionGroup(QNotesViewClass);
        noteSortGroup->setExclusive(true);
        actAscending = new MAction(QApplication::trUtf8("Oldest first"), noteSortGroup);
        actAscending->setCheckable(true);

        actDescending = new MAction(QApplication::trUtf8("Newest first"), noteSortGroup);
        actDescending->setCheckable(true);

        actAscending->setLocation(MAction::ApplicationMenuLocation);
        actDescending->setLocation(MAction::ApplicationMenuLocation);
        actAscending->setStyleAction(true);
        actDescending->setStyleAction(true);

        QNotesViewClass->addActions(noteSortGroup->actions());
        QNotesViewClass->addAction(actionDelete_notes);
        QNotesViewClass->addAction(actionReload);
        retranslateUi(QNotesViewClass);

        QMetaObject::connectSlotsByName(QNotesViewClass);
    } // setupUi

    void retranslateUi(MApplicationPage *QNotesViewClass)
    {
        actionDelete_notes->setText(MApplication::translate("QNotesViewClass", "Manage notes", 0, MApplication::UnicodeUTF8));
        actionReload->setText(MApplication::translate("QNotesViewClass", "Reload", 0, MApplication::UnicodeUTF8));
        pbNewNote->setText(MApplication::translate("QNotesViewClass", "New note", 0, MApplication::UnicodeUTF8));
    } // retranslateUi

};

namespace Ui {
    class QNotesViewClass: public Ui_QNotesViewClass {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_QNOTESVIEW_H
